After my recent fix for this, nautilus was still having problems
telling keeping F10 and Shift-F10 apart. With this change, we are
treating levels with the same symbol like inactive levels, ignoring
them entirely.
int found = 0;
for (i=0,entry=type->map;i<type->map_count;i++,entry++) {
- if (!entry->active)
+ if (!entry->active || syms[col+entry->level] == syms[col])
continue;
if (mods_rtrn) {
int bits = 0;
* and F10 anymore). And don't add modifiers that are
* explicitly marked as preserved, either.
*/
- if ((bits == 1 && syms[col+entry->level] != syms[col]) ||
+ if (bits == 1 ||
(mods&type->mods.mask) == entry->mods.mask)
{
if (type->preserve)
}
}
- if (!found&&((mods&type->mods.mask)==entry->mods.mask)) {
+ if (!found && ((mods&type->mods.mask) == entry->mods.mask)) {
col+= entry->level;
if (type->preserve)
preserve= type->preserve[i].mask;